package cn.com.niit.service.impl;



import cn.com.niit.mapper.UserMapper;
import cn.com.niit.pojo.User;
import cn.com.niit.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper mapper;

    @Override
    public User queryCount(String name) {
        return mapper.queryCount(name);
    }

}
